const ENV_CONFIG = require('./env.js')

module.exports = {
	transpileDependencies: ['@dcloudio/uni-ui','uview-ui'],
	chainWebpack: config => {
	    config
	      .plugin('define')
	      .tap(args => {
	        args[0]['process.env'].APP_CONFIG = JSON.stringify(ENV_CONFIG) 
	        return args
	    })
	}
}
